package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 印刷出版收藏对象 danmo_printing_favorite
 * 
 * @author kunzong
 * @date 2024-12-05
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoPrintingFavorite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收藏记录的唯一标识符 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 印刷出版ID */
    @Excel(name = "印刷出版ID")
    private Long productId;


    private Integer pageNum = 1;
    private Integer pageSize = 10;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("productId", getProductId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
